package com.czn.bookshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户实体类
 *
 * @author ChenZeNan
 * @create 2020-12-27 12:19
 */
@Data
@TableName("bs_user")
@EqualsAndHashCode(callSuper = false)
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id; // id
    private String username; // 用户名
    private String password; // 密码
    private String email; // 邮箱
    private String phone; // 电话
    private String company; //籍贯地址
}
